﻿using System;
using System.Collections.Generic;
using System.Net;
using System.Web;

using OctoOS;
using OctoOS.UI;

public partial class samples_default : OOSPage
{
	protected void Page_Load(object sender, EventArgs e)
	{
		UriBuilder uriBld = new UriBuilder(OOSRequest.Current.UserRequestUrl);
		if(!uriBld.Host.StartsWith("m."))
			uriBld.Host = "m." + uriBld.Host;
		mobile.HRef = uriBld.Uri.ToString();

		queryString.HRef = Urls.Samples.GetQueryString(100, "hello world");

		Page.DataBind();
	}
}